package com.ll.micropoint.point.controller;


import com.ll.common.core.common.R;
import com.ll.micropoint.point.service.IPointService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/point")
public class PointController {

    @Autowired
    private IPointService pointService;

    @RequestMapping("/add")
    public R add(Integer uid, Integer pointType){
        pointService.add(uid,pointType);
        return R.ok();
    }
}
